package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * 组件注解
 *
 * 通配方法
 */
@Component
public class PaymentFallbackService implements  PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "PaymentFallbackService-- 处理  （；´д｀）ゞ";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "PaymentFallbackService---paymentInfo_TimeOut （；´д｀）ゞ ";
    }
}
